GBML manual / Constants

DOOR_EXIT_ONLY

Exit only - this door receives, but never sends, even if walked into.

Sega Genesis: not built yet

On other consoles this differs: see Side by side and How the consoles differ.

Syntax

DOOR_EXIT_ONLY: constant

Description

The door mode that receives (acts as an Exit door - the arrival end, the door come OUT of) but never sends, even if walked into. Half of a one-way passage: link a DOOR_ENTER_ONLY door to a DOOR_EXIT_ONLY one and the passage only ever works in that direction. An Exit-only door still works even while door_is_locked reports it locked - locking only ever blocks sending, and an Exit-only door was never going to send anyway.

Example

door_set_mode(4, DOOR_EXIT_ONLY);

Sets the door whose door_id is 4 to receive-only - the arrival end of a one-way passage.

See also: door_set_modedoor_modeDOOR_TWO_WAYDOOR_ENTER_ONLY